package com.zhejiangzhengyuan.municipal_common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * <p>
 *
 * </p>
 *
 * @author linju
 * @since 2019-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PumpStation对象", description="")
public class PumpStation extends Model<PumpStation> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "泵站编号")
    private String code;

    @ApiModelProperty(value = "泵站名称")
    private String name;

    private String longitude;

    private String latitude;

    @ApiModelProperty(value = "创建时间")
    private Timestamp createTime;

    @ApiModelProperty(value = "更新时间")
    private Timestamp updateTime;

    @ApiModelProperty(value = "泵站类型")
    private String type;

    @ApiModelProperty(value = "泵站的泵的数量")
    private Integer count;

    @ApiModelProperty(value = "泵站具体的位置信息")
    private String location;

    @ApiModelProperty(value = "处理终端的日处理水量(t/d)")
    private long number;


    @Override
    protected Serializable pkVal() {
        return null;
    }

}
